package com.heima.common.constants;

public class BehaviorConstants {
    /**
     * 用户行为中redis的各种前缀
     */
    //收藏前缀
    public static final String Collection_Article_Redis_Key_Prefix = "behavior_collection_article_userId_";
    public static final String Collection_Article_Hash_Key_Prefix = "collection_article_articleId_";
    //阅读前缀
    public static final String Behavior_Read_Redis_Key = "behavior_read";
    public static final String Behavior_Read_Hash_Key_prefix = "articleId_";
    //点赞/取消点赞  不喜欢/取消不喜欢  前缀
    public static final String Behavior_Like_Redis_Key_prefix = "behavior_like_";
    public static final String Behavior_Like_Hash_Key_prefix = "userId_";
    //关注前缀
    public static final String Follow_Redis_key_prefix = "behavior_follow_userId_";
    public static final String Follow_Hash_Key_prefix = "followUserId_";
    //粉丝前缀
    public static final String Fans_Redis_Key_prefix = "behavior_fans_userId_";
    public static final String Fans_Hash_Key_Prefix = "fanUserId_";
}
